package com.lcxw.hxzbapi.controller.vipcontroller;

import com.alibaba.fastjson.JSONObject;
import com.lcxw.hxzbapi.entity.response.Response;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("api/vip/")
public class VipController {

    @Resource
    VipRealization vipRealization;

    @PostMapping("/getConfig")
    public Response getConfig(@RequestBody JSONObject requestBody) {
        return vipRealization.getVipConfigs(requestBody);
    }
}
